netfilter: nat: Avoid ABI change in 4.9.63
authorBen Hutchings <ben@decadent.org.uk>
Thu, 16 Nov 2017 21:00:59 +0000 (21:00 +0000)
committerYves-Alexis Perez <corsac@debian.org>
Fri, 9 Feb 2018 12:58:52 +0000 (12:58 +0000)
commit90421b48e407e49cbbc5dc7b3ee203ade441eb88
tree86655ada685dfa9fcfc5674542e1ebcc8503d8fe
parentcd17ee8ed017272b573c11a79e18270d8f5cc360
netfilter: nat: Avoid ABI change in 4.9.63

Commit e1bf1687740c ("netfilter: nat: Revert "netfilter: nat: convert
nat bysrc hash to rhashtable") changed the type of
nf_conn::nat_bysource.  Thankfully the two types are the same size,
and nothing outside of nf_nat_core touches this field directly.  Hide
the change from genksyms but add compile-time assertions to make sure
that this isn't an ABI change.

Gbp-Pq: Topic debian
Gbp-Pq: Name netfilter-nat-avoid-abi-change-in-4.9.63.patch
include/net/netfilter/nf_conntrack.h
include/net/netfilter/nf_nat.h
net/netfilter/nf_nat_core.c